package cn.schoolwow.quickdao.module.database.ddl.common.domain;

import cn.schoolwow.quickdao.domain.DAO;

import java.util.LinkedHashMap;
import java.util.Map;
import java.util.function.Consumer;

/**
 * 数据库升级选项
 * */
public class UpgradeOption {
    /**
     * 自动建表之前执行语句
     * */
    public Map<String, Consumer<DAO>> beforeAutomaticCreate = new LinkedHashMap<>();

    /**
     * 自动建表之后执行语句
     * */
    public Map<String, Consumer<DAO>> afterAutomaticCreate = new LinkedHashMap<>();
}
